import re

import requests

url = 'https://image.baidu.com/search/index?tn=baiduimage&ipn=r&ct=201326592&cl=2&lm=&st=-1&fm=result&fr=&sf=1&fmq=1735647959462_R&pv=&ic=0&nc=1&z=&hd=&latest=&copyright=&se=1&showtab=0&fb=0&width=&height=&face=0&istype=2&dyTabStr=&ie=utf-8&sid=&word=%E8%80%81%E8%99%8E'

headers={
    'user-agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36',
}

# data-objurl="(.*?)"

response = requests.get(url=url,headers=headers)
content = response.content.decode("utf-8")
urls = re.findall('"hoverURL": "(.*?)"',content,re.DOTALL)

for url in urls:
    print(url)